import requests

url = "https://query.wikidata.org/sparql"
query = """
SELECT ?description
WHERE {
  wd:Q7270 schema:description ?description.
  FILTER (lang(?description) = "en")
}
"""
proxies = {
    "https": "127.0.0.1:7893",
    "http": "127.0.0.1:7893",
}
params = {"format": "json", "query": query}
r = requests.get(url, params=params, proxies=proxies)
data = r.json()
print(data)

from common.common_utils import arequest

infos = arequest([{"url": url, "proxies": proxies}])
